package com.hl.sfzy.service.course;

import com.hl.sfzy.entity.course.Coursemark;
import com.hl.sfzy.mapper.course.CoursemarkMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: sfzy
 * @description:
 * @author: xiaoyan
 * @create: 2024-09-10 11:19
 **/
@Service
public class CourseMarkService {
    @Autowired
    private CoursemarkMapper coursemarkMapper;

    public List<Coursemark> selectAllByCourseId(Long id){
        return coursemarkMapper.selectAllByCourseId(id);
    }
}
